import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import router from '@/router'
import store from '@/store'

import * as filters from '@/libs/filters'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/iconfont/iconfont.css'
import '@/assets/styles/fonts.scss'
import '@/assets/styles/element-ui.scss'
import 'normalize.css'


// 注册全局插件
Vue.use(ElementUI)

// 注册全局过滤器
Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
})

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
